
module.exports = [{
    url: '/incrementCoverage/homeinfo',
    type: 'get',
    response: _ => {
      const xhr = new XMLHttpRequest()
      const okStatus = document.location.protocol === 'file' ? 0 : 200
      xhr.open('GET', '/test_demo1.txt', false)
      xhr.overrideMimeType('text/html;charset=utf-8')
      xhr.send(null)
      var data = []
      if (xhr.status === okStatus) {
        data = JSON.parse(xhr.responseText)
      }
      return {
        code: 20000,
        data: data
      }
    }
  }]
  